For example, you want to set 40% alpha transparence to #000000 (black color), you need to add 66 like this #66000000.
Discover gists
| ## I just ran into this after initializing a Visual Studio project _before_ adding a .gitignore file (like an idiot). | |
| ## I felt real dumb commiting a bunch of files I didn't need to, so the commands below should do the trick. The first two commands | |
| ## came from the second answer on this post: http://stackoverflow.com/questions/7527982/applying-gitignore-to-committed-files | |
| # See the unwanted files: | |
| git ls-files -ci --exclude-standard | |
| # Remove the unwanted files: | |
| git ls-files -ci --exclude-standard -z | xargs -0 git rm --cached |
A pattern for building personal knowledge bases using LLMs.
This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.
Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.
name: tufte-viz description: | Ideate and critique data visualizations using Edward Tufte's principles from "The Visual Display of Quantitative Information." Use this skill when: (1) Designing new data visualizations or charts (2) Critiquing or improving existing visualizations (3) Reviewing dashboards or reports for graphical integrity (4) Deciding between visualization approaches (5) Reducing chartjunk or improving data-ink ratio (6) Planning small multiples or high-density displays
| #!/usr/bin/env swift | |
| // | |
| // PrintBootCampESDInfo.swift | |
| // | |
| // Created by nuomi1 on 8/5/18. | |
| // Copyright © 2018年 nuomi1. All rights reserved. | |
| // | |
| import Foundation |
| git clone git@github.com:huggingface/text-embeddings-inference.git | |
| cd text-embeddings-inference | |
| cargo install --path router -F candle -F accelerate | |
| model=BAAI/bge-large-en-v1.5 | |
| revision=refs/pr/5 | |
| text-embeddings-router --model-id $model --revision $revision --port 8080 |